const list = [
  {
    uid: "b1f8cd95e3ea4af6a7e1f0d03cb5a7ec",
    pUid: null,
    created: "2021-03-10 17:23:52",
    name: "系统管理",
    remark: null,
    id: 2,
    page: null,
    type: 1,
    updated: null,
    icon: "el-icon-s-promotion",
    status: 1,
    child: [
      {
        created: "2021-03-10 17:24:57",
        icon: "el-icon-s-home",
        remark: null,
        sort: 1,
        type: 1,
        uid: "9046eee52ff34d52a0f4c916b80f310a",
        pUid: "b1f8cd95e3ea4af6a7e1f0d03cb5a7ec",
        name: "账号管理",
        id: 3,
        page: null,
        updated: "2021-03-10 17:38:59",
        status: 1,
        child: [
          {
            created: "2021-03-10 17:26:43",
            icon: null,
            remark: null,
            sort: 1,
            type: 2,
            uid: "ad40a2dfb7e8499c9678de4d1294d283",
            pUid: "9046eee52ff34d52a0f4c916b80f310a",
            name: "添加账号",
            id: 7,
            page: null,
            updated: null,
            status: 1,
            child: []
          },
          {
            created: "2021-03-10 17:26:55",
            icon: null,
            remark: null,
            sort: 2,
            type: 2,
            uid: "48f80f05a281484bb9c7a9a8d4b6afa4",
            pUid: "9046eee52ff34d52a0f4c916b80f310a",
            name: "修改账号",
            id: 8,
            page: null,
            updated: null,
            status: 1,
            child: []
          },
          {
            created: "2021-03-10 17:27:06",
            icon: null,
            remark: null,
            sort: 3,
            type: 2,
            uid: "9c49edb711c44a3380214437384e6d59",
            pUid: "9046eee52ff34d52a0f4c916b80f310a",
            name: "删除账号",
            id: 9,
            page: null,
            updated: null,
            status: 1,
            child: []
          }
        ]
      },
      {
        created: "2021-03-10 17:25:16",
        icon: null,
        remark: null,
        sort: 2,
        type: 1,
        uid: "e00403bc949c4bcba79ca5d51415fd98",
        pUid: "b1f8cd95e3ea4af6a7e1f0d03cb5a7ec",
        name: "角色管理",
        id: 4,
        page: null,
        updated: null,
        status: 1,
        child: []
      },
      {
        created: "2021-03-10 17:25:34",
        icon: null,
        remark: null,
        sort: 3,
        type: 1,
        uid: "e210e44f32cd46439e996e3c934db4cf",
        pUid: "b1f8cd95e3ea4af6a7e1f0d03cb5a7ec",
        name: "菜单管理",
        id: 5,
        page: null,
        updated: null,
        status: 1,
        child: []
      },
      {
        created: "2021-03-10 17:26:10",
        icon: null,
        remark: null,
        sort: 4,
        type: 1,
        uid: "2c72c319b97b4a2583c188768482d55f",
        pUid: "b1f8cd95e3ea4af6a7e1f0d03cb5a7ec",
        name: "接口管理",
        id: 6,
        page: null,
        updated: null,
        status: 1,
        child: []
      }
    ]
  },
  {
    uid: "b1e7003000c14b6a9411b6a4120de31d",
    pUid: null,
    created: "2021-03-10 17:29:36",
    name: "系统监控",
    remark: null,
    id: 10,
    page: null,
    type: 1,
    updated: null,
    status: 1,
    child: [
      {
        created: "2021-03-10 17:30:13",
        icon: null,
        remark: null,
        sort: 1,
        type: 1,
        uid: "0e010702fad446af88d3ea0a7ac42d0d",
        pUid: "b1e7003000c14b6a9411b6a4120de31d",
        name: "在线用户",
        id: 11,
        page: null,
        updated: null,
        status: 1,
        child: [
          {
            created: "2021-03-10 17:30:41",
            icon: null,
            remark: null,
            sort: 1,
            type: 2,
            uid: "8f555bc36fd7445bb6651e37a1d6dea5",
            pUid: "0e010702fad446af88d3ea0a7ac42d0d",
            name: "强退",
            id: 12,
            page: null,
            updated: null,
            status: 1,
            child: []
          }
        ]
      },
      {
        created: "2021-03-10 17:42:06",
        icon: null,
        remark: null,
        sort: 2,
        type: 1,
        uid: "a7e7e851f5ab47f0b21d25c14895b097",
        pUid: "b1e7003000c14b6a9411b6a4120de31d",
        name: "操作日志",
        id: 13,
        page: null,
        updated: null,
        status: 1,
        child: [
          {
            created: "2021-03-10 17:42:54",
            icon: null,
            remark: null,
            sort: 1,
            type: 2,
            uid: "e07be07d41c54a0d80477e7c1127ee01",
            pUid: "a7e7e851f5ab47f0b21d25c14895b097",
            name: "删除",
            id: 14,
            page: null,
            updated: null,
            status: 1,
            child: []
          }
        ]
      }
    ]
  }
];
module.exports = [
  {
    url: "/sys/menu/page",
    type: "post",
    response: () => {
      return {
        msg: "获取菜单的分页数据",
        code: 200,
        data: {
          pageNumber: 1,
          list: [
            {
              uid: "b1f8cd95e3ea4af6a7e1f0d03cb5a7ec",
              pUid: null,
              created: "2021-03-10 17:23:52",
              name: "系统管理",
              remark: null,
              id: 2,
              page: null,
              type: 1,
              updated: null,
              icon: "el-icon-s-promotion",
              status: 1,
              child: [
                {
                  created: "2021-03-10 17:24:57",
                  icon: "el-icon-s-home",
                  remark: null,
                  sort: 1,
                  type: 1,
                  uid: "9046eee52ff34d52a0f4c916b80f310a",
                  pUid: "b1f8cd95e3ea4af6a7e1f0d03cb5a7ec",
                  name: "账号管理",
                  id: 3,
                  page: null,
                  updated: "2021-03-10 17:38:59",
                  status: 1,
                  child: [
                    {
                      created: "2021-03-10 17:26:43",
                      icon: null,
                      remark: null,
                      sort: 1,
                      type: 2,
                      uid: "ad40a2dfb7e8499c9678de4d1294d283",
                      pUid: "9046eee52ff34d52a0f4c916b80f310a",
                      name: "添加账号",
                      id: 7,
                      page: null,
                      updated: null,
                      status: 1,
                      child: []
                    },
                    {
                      created: "2021-03-10 17:26:55",
                      icon: null,
                      remark: null,
                      sort: 2,
                      type: 2,
                      uid: "48f80f05a281484bb9c7a9a8d4b6afa4",
                      pUid: "9046eee52ff34d52a0f4c916b80f310a",
                      name: "修改账号",
                      id: 8,
                      page: null,
                      updated: null,
                      status: 1,
                      child: []
                    },
                    {
                      created: "2021-03-10 17:27:06",
                      icon: null,
                      remark: null,
                      sort: 3,
                      type: 2,
                      uid: "9c49edb711c44a3380214437384e6d59",
                      pUid: "9046eee52ff34d52a0f4c916b80f310a",
                      name: "删除账号",
                      id: 9,
                      page: null,
                      updated: null,
                      status: 1,
                      child: []
                    }
                  ]
                },
                {
                  created: "2021-03-10 17:25:16",
                  icon: null,
                  remark: null,
                  sort: 2,
                  type: 1,
                  uid: "e00403bc949c4bcba79ca5d51415fd98",
                  pUid: "b1f8cd95e3ea4af6a7e1f0d03cb5a7ec",
                  name: "角色管理",
                  id: 4,
                  page: null,
                  updated: null,
                  status: 1,
                  child: []
                },
                {
                  created: "2021-03-10 17:25:34",
                  icon: null,
                  remark: null,
                  sort: 3,
                  type: 1,
                  uid: "e210e44f32cd46439e996e3c934db4cf",
                  pUid: "b1f8cd95e3ea4af6a7e1f0d03cb5a7ec",
                  name: "菜单管理",
                  id: 5,
                  page: null,
                  updated: null,
                  status: 1,
                  child: []
                },
                {
                  created: "2021-03-10 17:26:10",
                  icon: null,
                  remark: null,
                  sort: 4,
                  type: 1,
                  uid: "2c72c319b97b4a2583c188768482d55f",
                  pUid: "b1f8cd95e3ea4af6a7e1f0d03cb5a7ec",
                  name: "接口管理",
                  id: 6,
                  page: null,
                  updated: null,
                  status: 1,
                  child: []
                }
              ]
            },
            {
              uid: "b1e7003000c14b6a9411b6a4120de31d",
              pUid: null,
              created: "2021-03-10 17:29:36",
              name: "系统监控",
              remark: null,
              id: 10,
              page: null,
              type: 1,
              updated: null,
              status: 1,
              child: [
                {
                  created: "2021-03-10 17:30:13",
                  icon: null,
                  remark: null,
                  sort: 1,
                  type: 1,
                  uid: "0e010702fad446af88d3ea0a7ac42d0d",
                  pUid: "b1e7003000c14b6a9411b6a4120de31d",
                  name: "在线用户",
                  id: 11,
                  page: null,
                  updated: null,
                  status: 1,
                  child: [
                    {
                      created: "2021-03-10 17:30:41",
                      icon: null,
                      remark: null,
                      sort: 1,
                      type: 2,
                      uid: "8f555bc36fd7445bb6651e37a1d6dea5",
                      pUid: "0e010702fad446af88d3ea0a7ac42d0d",
                      name: "强退",
                      id: 12,
                      page: null,
                      updated: null,
                      status: 1,
                      child: []
                    }
                  ]
                },
                {
                  created: "2021-03-10 17:42:06",
                  icon: null,
                  remark: null,
                  sort: 2,
                  type: 1,
                  uid: "a7e7e851f5ab47f0b21d25c14895b097",
                  pUid: "b1e7003000c14b6a9411b6a4120de31d",
                  name: "操作日志",
                  id: 13,
                  page: null,
                  updated: null,
                  status: 1,
                  child: [
                    {
                      created: "2021-03-10 17:42:54",
                      icon: null,
                      remark: null,
                      sort: 1,
                      type: 2,
                      uid: "e07be07d41c54a0d80477e7c1127ee01",
                      pUid: "a7e7e851f5ab47f0b21d25c14895b097",
                      name: "删除",
                      id: 14,
                      page: null,
                      updated: null,
                      status: 1,
                      child: []
                    }
                  ]
                }
              ]
            }
          ],
          pageSize: 15,
          totalRow: 2,
          totalPage: 1,
          firstPage: true,
          lastPage: true
        },
        success: true,
        time: "2021-03-10 17:44:27"
      };
    }
  },
  {
    url: "/sys/menu/add",
    type: "post",
    response: () => {
      return {
        msg: "添加成功",
        code: 200,
        data: null,
        success: true,
        time: "2021-03-10 17:42:54"
      };
    }
  },
  {
    url: "/sys/menu/del",
    type: "post",
    response: () => {
      return {
        msg: "删除成功",
        code: 200,
        data: null,
        success: true,
        time: "2021-03-10 16:43:50"
      };
    }
  },
  {
    url: "/sys/menu/upd",
    type: "post",
    response: () => {
      return {
        msg: "修改成功",
        code: 200,
        data: null,
        success: true,
        time: "2021-03-10 17:42:54"
      };
    }
  },
  {
    url: "/sys/menu/get",
    type: "post",
    response: () => {
      return {
        msg: "获取单个菜单的数据",
        code: 200,
        data: {
          created: "2021-03-10 17:24:57",
          icon: 'user',
          remark: 'mock测试',
          sort: 1,
          actionUid: [
            "6b8289764fa148fab62ada107267ac9e",
            "eff87134284d4dcc920cc70d43f0caf0"
          ],
          type: 1,
          uid: "9046eee52ff34d52a0f4c916b80f310a",
          pUid: "b1f8cd95e3ea4af6a7e1f0d03cb5a7ec",
          name: "账号管理",
          id: 3,
          page: null,
          updated: "2021-03-10 17:38:59",
          status: 1
        },
        success: true,
        time: "2021-03-12 09:51:00"
      };
    }
  }
];
